<?php
/**
 * Created by Rudy.
 * Author: Rudy
 * Date: 2020/11/28
 * Time: 23:18
 */

namespace App\Models\Constant;


class Constant {

    const USER_TYPE = [
        1=>'一级',
        2=>'二级',
        3=>'三级',
    ];



    const PAGE_SIZE = 30;

    const FROM_GUARD = 'GUARD';
    const FROM_WEB = 'WEB';
    const FROM_ANDROID = 'ANDROID';
    const FROM_IOS = 'IOS';
    const FROM_WX_SMALL = 'WX_SMALL';
    const FROM_ZFB_SMALL = 'ZFB_SMALL';

    const MAP_MSG = [

        //通用
        100000=>'成功！',
        100001=>'失败！',
        100002=>'未查找到有效记录',
        100004=>'缺少token！',
        100005 => 'token解析失败！',
        //登录
        200000=>'登录成功！',
        200001=>'登录失败,用户名或密码错误!',
        200002=>'安全退出！',
        200003=>'验证码失效！',
        200004=>'验证码错误！',


        //rabc
        300000=>'用户名已存在！',
        300001=>'失败！原密码不正确！',

    ];

}
